package com.yumis.service.model.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "yk_category_service")
@Data
public class CategoryService {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private String name;

    private Long pid;

    private Integer shopId;
}